package org.bees.cms.web.action.clause;

import javax.annotation.Resource;

import org.bees.cms.core.clause.Criterion;
import org.bees.cms.service.Service;
import org.bees.cms.service.clause.CriterionService;
import org.bees.cms.web.action.PagingActionSupport;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

@Scope("prototype")
@Controller
public class CriterionPagingAction extends PagingActionSupport<Criterion> {
	@Resource
	private CriterionService criterionServiceBean;

	@Override
	public Service<Criterion> service() {
		return criterionServiceBean;
	}

}
